home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1999 January - Disc 2
/
Macworld (1999-01) (Disk 2).dmg
/
Serious Demos
/
Symbolic Composer 4.2
/
Environment
/
Projects
/
Contributed Scores
/
Piano Inventions
/
Invention 2
< prev
next >
Wrap
Lisp/Scheme
|
1998-10-26
|
5KB
|
183 lines
; Invention II - solo keyboard (section 1)
(gen-hopalong-symbol xmel (a g) ymel (a g) 100 200 300 0.45 32 0)
(setq mel1 (find-change xmel))
(setq mel2 (find-change ymel))
(gen-hopalong-vector tonx tony 100 200 300 0.45 7 0)
(create-tonality scale1 (vector-to-list (vector-round 1 12 tonx)))
(create-tonality scale2 (vector-to-list (vector-round 1 12 tony)))
(gen-hopalong-symbol xmel1 (a g) ymel2 (a g) 100 300 500 0.45 24 0)
(setq mel3 (find-change xmel1))
(setq mel4 (find-change ymel2))
(gen-hopalong-vector ton1x ton1y 100 300 500 0.45 7 0)
(create-tonality scale3 (vector-to-list (vector-round 1 12 ton1x)))
(create-tonality scale4 (vector-to-list (vector-round 1 12 ton1y)))
(gen-hopalong-symbol xmel3 (a g) ymel4 (a g) 100 500 700 0.45 12 0)
(setq mel5 (find-change xmel3))
(setq mel6 (find-change ymel4))
(gen-hopalong-vector ton2x ton2y 100 500 700 0.45 7 0)
(create-tonality scale5 (vector-to-list (vector-round 1 12 ton2x)))
(create-tonality scale6 (vector-to-list (vector-round 1 12 ton2y)))
(setq rhy1 (append (symbol-repeat 28 '(96)) '(48 48 48 48)))
(setq rhy2 (append (symbol-repeat 21 '(96)) '(64 64 64)))
(setq rhy3 (append (symbol-repeat 10 '(96)) '(192 192)))
(setq zone1 (list (make-zone rhy1) (make-zone rhy2) (make-zone rhy3)))
(def-symbol
pnrh (append mel1 mel3 mel5)
pnlh (append mel2 mel4 mel6)
)
(def-length
pnrh (append rhy1 rhy2 rhy3)
pnlh (append rhy1 rhy2 rhy3)
)
(def-tonality
pnrh (activate-tonality (scale1 c 6) (scale3 c 6) (scale5 c 6))
pnlh (activate-tonality (scale2 c 5) (scale4 c 5) (scale6 c 5))
)
(def-zone
pnrh zone1
pnlh zone1
)
(compile-instrument "ccl;output:" "invention2a"
pnrh
pnlh
)
; Invention II - solo keyboard (section 2)
(gen-hopalong-symbol xmel (a g) ymel (a g) 100 200 300 0.4 32 0)
(setq mel1 (find-change xmel))
(setq mel2 (find-change ymel))
(gen-hopalong-vector tonx tony 100 200 300 0.4 7 0)
(create-tonality scale1 (vector-to-list (vector-round 1 12 tonx)))
(create-tonality scale2 (vector-to-list (vector-round 1 12 tony)))
(gen-hopalong-symbol xmel1 (a g) ymel2 (a g) 100 300 500 0.4 24 0)
(setq mel3 (find-change xmel1))
(setq mel4 (find-change ymel2))
(gen-hopalong-vector ton1x ton1y 100 300 500 0.4 7 0)
(create-tonality scale3 (vector-to-list (vector-round 1 12 ton1x)))
(create-tonality scale4 (vector-to-list (vector-round 1 12 ton1y)))
(gen-hopalong-symbol xmel3 (a g) ymel4 (a g) 100 500 700 0.4 12 0)
(setq mel5 (find-change xmel3))
(setq mel6 (find-change ymel4))
(gen-hopalong-vector ton2x ton2y 100 500 700 0.4 7 0)
(create-tonality scale5 (vector-to-list (vector-round 1 12 ton2x)))
(create-tonality scale6 (vector-to-list (vector-round 1 12 ton2y)))
(setq rhy4 '((-1/8 1/8 1/16 1/16 1/16 1/16 1/8 1/8 1/8 1/8)))
(setq rhy5 '((1/4 1/8 1/8 -1/16 1/16 1/16 1/16 1/8t 1/8t 1/8t 1/8 1/16 1/16)))
(setq rhy6 '((1/16 1/16 1/16 1/16 1/16 1/16 1/16 1/16 1/8 1/16 1/16 -1/8 1/8)))
(def-symbol
pnrh (append mel1 mel3 mel5)
pnlh (append mel2 mel4 mel6)
)
(def-length
pnrh (append rhy6 rhy5 rhy4)
pnlh (append rhy4 rhy5 rhy6)
)
(def-tonality
pnrh (activate-tonality (scale1 c 6) (scale3 c 6) (scale5 c 6))
pnlh (activate-tonality (scale2 c 5) (scale4 c 5) (scale6 c 5))
)
(def-zone
pnrh (reverse zone1)
pnlh (reverse zone1)
)
(compile-instrument "ccl;output:" "invention2b"
pnrh
pnlh
)
; Invention II - solo keyboard (section 3)
(gen-hopalong-symbol xmel (a g) ymel (a g) 100 200 300 0.35 32 0)
(setq mel1 (find-change xmel))
(setq mel2 (find-change ymel))
(gen-hopalong-vector tonx tony 100 200 300 0.35 7 0)
(create-tonality scale1 (vector-to-list (vector-round 1 12 tonx)))
(create-tonality scale2 (vector-to-list (vector-round 1 12 tony)))
(gen-hopalong-symbol xmel1 (a g) ymel2 (a g) 100 300 500 0.35 24 0)
(setq mel3 (find-change xmel1))
(setq mel4 (find-change ymel2))
(gen-hopalong-vector ton1x ton1y 100 300 500 0.4 7 0)
(create-tonality scale3 (vector-to-list (vector-round 1 12 ton1x)))
(create-tonality scale4 (vector-to-list (vector-round 1 12 ton1y)))
(gen-hopalong-symbol xmel3 (a g) ymel4 (a g) 100 500 700 0.35 12 0)
(setq mel5 (find-change xmel3))
(setq mel6 (find-change ymel4))
(gen-hopalong-vector ton2x ton2y 100 500 700 0.35 7 0)
(create-tonality scale5 (vector-to-list (vector-round 1 12 ton2x)))
(create-tonality scale6 (vector-to-list (vector-round 1 12 ton2y)))
(setq rhy7 '((1/8 1/16 1/16 1/16 1/16 1/16 1/16 1/2 -1/16 1/16)))
(setq rhy8 '((1/2 -1/4 1/4 1/4 1/4 -1/8 1/8)))
(setq rhy9 '((-1/16 1/16 1/16 1/16 3/16 1/16 1/2)))
(def-symbol
pnrh (append mel1 mel3 mel5)
pnlh (append mel2 mel4 mel6)
)
(def-length
pnrh (append rhy9 rhy8 rhy7)
pnlh (append rhy7 rhy8 rhy9)
)
(def-tonality
pnrh (activate-tonality (scale1 c 6) (scale3 c 6) (scale5 c 6))
pnlh (activate-tonality (scale2 c 5) (scale4 c 5) (scale6 c 5))
)
(def-zone
pnrh zone1
pnlh zone1
)
(compile-instrument "ccl;output:" "invention2c"
pnrh
pnlh
)